/* pages/home/home.wxss */
@time: 0.75s;

.page {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  background: rgba(39, 39, 75, 1);
}

.card-box {
  display: flex;
  flex-direction: column;
  height: 1800rpx;
}

.card {
  position: relative;
  box-shadow: 0 -10rpx 20rpx rgba(39, 39, 75, 0.5);

  .bg-box {
    width: 100%;
    height: 350rpx;
    transition: height @time;
    overflow: hidden;

    image {
      width: 100%;
      height: 500rpx;
      transform: translateY(-18%);
      transition: transform @time;
    }
  }

  .info-swiper-item {
    width: 100%;
    height: 350rpx;
    transition: height @time;
    overflow: hidden;

    image {
      width: 100%;
      height: 500rpx;
      transform: translateY(-18%);
      transition: transform @time;
    }
  }

  .texts {
    position: absolute;

    z-index: 10;

    transform: translateY(-50%);
  }

  .texts1 {
    top: 52%;
    left: 64rpx;
    width: 201rpx;
    // width: 187rpx;
    // height: 82rpx;
  }

  .texts2 {
    top: 51%;
    left: 68rpx;
    width: 218rpx;
    // width: 201rpx;
    // height: 82rpx;
  }

  .texts3 {
    top: 47%;
    left: 68rpx;
    width: 192rpx;
    // height: 136rpx;
  }

  .btn {
    width: 170rpx;
    height: 40rpx;
    position: absolute;
    left: 70rpx;
    z-index: 10;
    top: 70%;
    opacity: 0;
    transition: all @time;
  }
}

.card-open {
  .bg-box {
    width: 100%;
    height: 500rpx;
    transition: height @time;

    image {
      width: 100%;
      height: 500rpx;
      transform: translateY(0%);
      transition: transform @time;
    }
  }

  .btn {
    opacity: 1;
    transition: all @time;
  }
}

// 收起
.card-swiper {
  width: 100%;
  height: 600rpx;
  transition: height @time;

  .info-swiper-item {
    width: 100%;
    height: 600rpx;
    transition: height @time;
    overflow: hidden;

    image {
      width: 100%;
      height: 750rpx;
      transform: translateY(-15%);
      transition: transform @time;
    }

    .info-swiper-d {
      position: absolute;
      width: 269rpx;
      height: 168rpx;
      left: 70rpx;
      z-index: 10;
      top: 50%;
      transform: translateY(-10%);
    }

    .info-swiper-t {
      /*width: 318rpx;*/
      width:100%;
      height: 44rpx;
      position: absolute;
      /*left: 70rpx;*/
      left:0px;
      z-index: 10;
      top: 36%;
      opacity: 0;
      transition: all @time;
    }

    .info-swiper-btn {
      width: 170rpx;
      height: 40rpx;
      position: absolute;
      left: 70rpx;
      z-index: 10;
      top: 77%;
      opacity: 0;
      transition: all @time;
    }
  }

}

// 展开的
.card-open-swiper {
  width: 100%;
  height: 750rpx;
  transition: height @time;

  .info-swiper-item {
    width: 100%;
    height: 750rpx;
    transition: height @time;
    overflow: hidden;

    image {
      width: 100%;
      height: 750rpx;
      transform: translateY(0%);
      transition: transform @time;
    }

    .info-swiper-t,
    .info-swiper-btn {
      opacity: 1;
      transition: all @time;
    }
  }
}

.dotBox {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 60rpx;
  position: absolute;
  left: 70rpx;
  top: 90%;

  .dotOne {
    width: 70rpx;
    height: 2px;
    margin: 0px 10rpx;
    border-radius: 1px;
    background: rgba(255, 255, 255, .2);

  }

  .acDotOne {
    background-color: #fff;
  }
}


.optionInfo {
  position: absolute;
  width: 100%;
  bottom: 80rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  .close {
    width: 33rpx;
    margin-bottom: 30rpx;
    animation: up 1s linear infinite;
  }
}


.to-task-btn {
  position: fixed;
  top: 534rpx;
  right: 10rpx;
  // z-index: 200;
  width: 68rpx;
  height: 68rpx;
  border-radius: 47rpx;
  background-color: rgba(255, 255, 255, 0.8);
  background-position: center center;
  background-repeat: no-repeat;
  // background: white;
}

.dialog-point-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;

  .dialog-point {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 660rpx;
    height: 620rpx;
    padding: 100rpx 70rpx 0 80rpx;
    box-sizing: border-box;

    .title {
      width: 138rpx;
      height: 30rpx;
    }

    .task-list {
      width: 100%;
      padding: 12rpx 0;
      color: #fff;

      .task-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 55rpx;

        .name {
          font-size: 26rpx;
        }

        .right {
          display: flex;
          align-items: center;

          .status {
            margin-right: 20rpx;
            font-size: 23rpx;
            text-decoration: underline;
          }

          .btn {
            width: 140rpx;
            text-align: center;
            color: #8B590A;
            font-size: 18rpx;
            line-height: 35rpx;
            border-radius: 23rpx;
            background: #f5e4cb linear-gradient(to right, #f5e4cb, #D0AD74);
          }
        }
      }
    }

    .close {
      position: absolute;
      top: 10rpx;
      right: 0;
      width: 30rpx;
      height: 30rpx;
      padding: 20rpx;

      image {
        width: 100%;
      }
    }
  }
}